<table width="100%" cellpadding="4" cellspacing="0">
{foreach from=$aAlbums item=aAlbum name=album}

    <tr{if $smarty.foreach.album.iteration %2} class="border13"{/if}>
        <td width="50%">{$smarty.foreach.album.iteration}. {$aAlbum.musician_name} - {$aAlbum.album_title}</td>
        <td width="20%">
            <a class="link_action" href="{url link='public.account.myitems.editmusic.editalbum' id=$aAlbum.album_id}">[ {language text="edit_details"} ]</a>
        </td>
        <td>
        <span style="font-size:8pt;">
        {if $aAlbum.album_is_approved}  <b> {language text="approved_783"} </b>
        {else} <b> {language text="pending"} </b>
        {/if}
        </span>
        </td>
        <td>
            <a href="{url link='public.account.myitems.editmusic.editalbum' action=delete_album id=$aAlbum.album_id}" onclick="return sure();">
            	<img src="design/pic/delete.gif" onmouseover="showInfo2('{language text="delete"}');" onmouseout="return nd();">
            </a>
        </td>
    </tr>
{foreachelse}
    <tr>
    <td style="text-align:center" colspan="4" align="center"><div class="message_info">{language text="there_are_no_albums_yet"}</div></td>
    </tr>
{/foreach}
    <tr><td class="catBottom" colspan="5">
        {include file="`$sRootPath`/_blocks/pager.html"}
    </td></tr>
</table>